package com.xx.bysj.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.data.annotation.Transient;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.transaction.annotation.Transactional;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class HnOrderInfo {
    private Integer orderInfoId;

    private Integer orderId;

    private String orderInfoDes;

    private String orderInfoName;

    private String orderInfoArea;

    private String orderInfoNet;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderInfoNeedTime;

    private String orderInfoSeorey;

    private Integer versionNumber;

    private String orderUserName;

    private String orderInfoTel;

    private BigDecimal orderPrice;

    @Transient
    private int userId;

    @Transient
    private List<HnOrderPhoto> orderPhotoList;

    @Transient
    private String orderNum;

    public Integer getOrderInfoId() {
        return orderInfoId;
    }

    public void setOrderInfoId(Integer orderInfoId) {
        this.orderInfoId = orderInfoId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderInfoDes() {
        return orderInfoDes;
    }

    public void setOrderInfoDes(String orderInfoDes) {
        this.orderInfoDes = orderInfoDes;
    }

    public String getOrderInfoName() {
        return orderInfoName;
    }

    public void setOrderInfoName(String orderInfoName) {
        this.orderInfoName = orderInfoName;
    }

    public String getOrderInfoArea() {
        return orderInfoArea;
    }

    public void setOrderInfoArea(String orderInfoArea) {
        this.orderInfoArea = orderInfoArea;
    }

    public String getOrderInfoNet() {
        return orderInfoNet;
    }

    public void setOrderInfoNet(String orderInfoNet) {
        this.orderInfoNet = orderInfoNet;
    }

    public Date getOrderInfoNeedTime() {
        return orderInfoNeedTime;
    }

    public void setOrderInfoNeedTime(Date orderInfoNeedTime) {
        this.orderInfoNeedTime = orderInfoNeedTime;
    }

    public String getOrderInfoSeorey() {
        return orderInfoSeorey;
    }

    public void setOrderInfoSeorey(String orderInfoSeorey) {
        this.orderInfoSeorey = orderInfoSeorey;
    }

    public Integer getVersionNumber() {
        return versionNumber;
    }

    public void setVersionNumber(Integer versionNumber) {
        this.versionNumber = versionNumber;
    }

    public String getOrderUserName() {
        return orderUserName;
    }

    public void setOrderUserName(String orderUserName) {
        this.orderUserName = orderUserName;
    }

    public String getOrderInfoTel() {
        return orderInfoTel;
    }

    public void setOrderInfoTel(String orderInfoTel) {
        this.orderInfoTel = orderInfoTel;
    }

    public BigDecimal getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(BigDecimal orderPrice) {
        this.orderPrice = orderPrice;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public List<HnOrderPhoto> getOrderPhotoList() {
        return orderPhotoList;
    }

    public void setOrderPhotoList(List<HnOrderPhoto> orderPhotoList) {
        this.orderPhotoList = orderPhotoList;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }
}